home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1219_kernel_process_table_size.rtf < prev    next >
Text File  |  1995-06-12  |  2KB  |  40 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fmodern Courier;\f3\fmodern Ohlfs;}
  2. \paperw11440
  3. \paperh9000
  4. \margl120
  5. \margr120
  6. {\colortbl;\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc0\cf0 Q:  I get the error "out of processes."   How can I increase the size of  the kernel's process table?\
  8. \
  9. A:  In 
  10. \b Release 1
  11. \b0  increasing the size of the process table is done by increasing the value of the system variable nproc.  Nproc can be changed by explicitly specifying the value on the boot command line from the NeXT ROM monitor:\
  12. \
  13.  
  14. \f1\fs24\fc1\cf1     NeXT>bsd sdmach nproc=200\
  15.  
  16. \f0\fs28\fc0\cf0 \
  17. This will set nproc to the decimal number 200.  The value may be entered in either decimal or hexidecimal.  To enter the value in hexidecimal, precede the number with "0x".  The default  value is nproc=0x54 (which is 84 decimal).    The new size of nproc stays in effect until you reboot the system.  \
  18. \
  19. The current value of nproc can be gotten from the nmi> monitor.  On a running system do the following:\
  20. \
  21. Hold down both Command keys while typing the tilde/backquote key (the upper left key on the numeric keypad (this enters the NMI monitor).\
  22. \
  23. At the nmi  prompt, query the value of nproc by:\
  24. \
  25.  
  26. \f1\fs24\fc1\cf1     nmi>nproc=\
  27.  
  28. \f0\fs28\fc0\cf0 \
  29. This returns the current value of nproc in hexidecimal.\
  30. \
  31. Also note that the maximum number of processes in Release 1 that a user can create is 40 (decimal).  This limit cannot be increased.\
  32. \
  33. In Releases 2 and 3, nproc is no longer part of the kernel—the process table grows dynamically.  The maximum number of user processes has been increased from 40 to 100.\
  34. \
  35. QA471\
  36. \
  37. Valid for 1.0, 2.0, 3.0\
  38. \
  39.  
  40.